<?php
class ControllerSitebarBrand extends Controller
{
	public function index($categoryid)
	{
		$this->load->model("core/category");
		$this->data['brand'] = $this->model_core_category->getItem($categoryid);
		$this->data['datas'] = array();
		$this->model_core_category->getTree($categoryid,$this->data['datas']);
		unset($this->data['datas'][0]);
		$this->id="content";
		$this->template="sitebar/brand.tpl";
		$this->render();
	}
}
?>